import request from '@/utils/request'

// 查询标记数据列表
export function listLogotype(query) {
  return request({
    url: '/labdata/logotype/list',
    method: 'get',
    params: query
  })
}

// 查询标记数据详细
export function getLogotype(logotypeId) {
  return request({
    url: '/labdata/logotype/' + logotypeId,
    method: 'get'
  })
}

// 新增标记数据
export function addLogotype(data) {
  return request({
    url: '/labdata/logotype',
    method: 'post',
    data: data
  })
}

// 修改标记数据
export function updateLogotype(data) {
  return request({
    url: '/labdata/logotype',
    method: 'put',
    data: data
  })
}

// 删除标记数据
export function delLogotype(logotypeId) {
  return request({
    url: '/labdata/logotype/' + logotypeId,
    method: 'delete'
  })
}

// 导出标记数据
export function exportLogotype(query) {
  return request({
    url: '/labdata/logotype/export',
    method: 'get',
    params: query
  })
}